import React from 'react'
//检查
export async function apiCheckBrandInfo(params) {
    return await React.$post("/management/brandApproval/check", params);
}

//列表
export async function apiGetGoodsInfoPage(params) {
    return await React.$post('/management/goodsInfo/page', params);
}
//商品分类
export async function apiGetGoodsClassifyTree(params) {
    return await React.$post('/management/goodsClassify/tree', params);
}
//商品分类
export async function apiGetGoodsClassifyList(params) {
    return await React.$post('/management/goodsClassify/list', params);
}
//商品规格
export async function apiGetGoodsSpecificationsList(params) {
    return await React.$post('/management/goodsSpecifications/list', params);
}
//商品品牌
export async function apiGetBrandInfoList(params) {
    return await React.$post('/management/brandInfo/list', params);
}
//商品品牌-新增
export async function apiGetBrandInfoAdd(params) {
    return await React.$post('/management/brandApproval/add', params);
}
//商品保存
export async function apiGetGoodsInfoInsert(params) {
    return await React.$post('/management/goodsInfo/insert', params);
}
//商品发布
export async function apiGetGoodsInfoUpdateState(params) {
    return await React.$post('/management/goodsInfo/updateState', params);
}
//商品修改
export async function apiGetGoodsInfoUpdate(params) {
    return await React.$post('/management/goodsInfo/update', params);
}
//商品删除
export async function apiGetGoodsInfoDel(params) {
    return await React.$post('/management/goodsInfo/del', params);
}
//商品上下架
export async function apiGetGoodsInfoPutway(params) {
    return await React.$post('/management/goodsInfo/putaway', params);
}
//商品-修改 详情
export async function apiGetGoodsInfoDetail(params) {
    return await React.$post('/management/goodsInfo/getGoodsDetail', params);
}
//运费模板
export async function apiGetFreightTemplateList(params) {
    return await React.$post('/management/freightTemplate/list', params);
}
//库存修改
export async function apiUpdateInventory(params) {
    return await React.$postJson('/management/goodsInfo/updateInventory/Json', params);
}
//商品评论
export async function apiGoodsEvaluationPage(params) {
    return await React.$post('/management/goodsEvaluation/page', params);
}
//商品品牌
export async function apiGetBrandApprovalPage(params) {
    return await React.$post('/management/brandApproval/page', params);
}
//商品品牌-撤销审核
export async function apiGetBrandApprovalDel(params) {
    return await React.$post('/management/brandApproval/del', params);
}
//回复评价
export async function apiEvaluationReply(params) {
    return await React.$post('/management/goodsEvaluation/reply', params);
}
// 查询所有sku详情,导出表格
export async function getAllGoodsDetail(params) {
    return await React.$post('/management/goodsInfo/getAllGoodsDetail', params);
}
// 商品规格上下架
export async function apiGetGoodsSkuPutway(params) {
    return await React.$post('/management/goodsSku/putaway', params);
}
